Before vault data can be safely backed up, it must first be prepared. The Meridian Prepare for Backup Wizard does this for you. After saving all pending transactions to the vault database and closing open files, it creates copies of the database files, which you may then back up with your normal backup software.
Before you begin If a scheduled task will be created, it will be helpful to know when other tasks are scheduled on the same computer so that this task can be scheduled to not interfere with those processes and vice versa. We recommend scheduling this task to occur before a recovery log task is executed on the same day and before regular system backups occur. A Prepare for Backup operation can take up to 20 minutes, so this task should be scheduled to occur 30 minutes before any other daily backup tasks and not during production hours.
Warning Changes should not be made in a vault between the time when the backup files are prepared and their corresponding stream files are backed up by a regular system backup. Otherwise, the files will not be synchronized and restoring them later may result in lost changes.
This task must be performed at the Meridian application server and not from a client computer if a scheduled task will be created.
To prepare backup files:
Type a user ID and password for the job to run as and click OK. By default, the job will be repeated daily at the current time.
We recommend that you specify a user account with a password that never expires. If the user account is removed, or the password either expires or is changed, the scheduled task will fail and backup files will not be created.
The files created by the Prepare for Backup operation reside in a folder named Backup that is a sub-folder of the vault folder. The Backup folder for a Hypertrieve vault contains the following files:
When the backup preparation is finished (scheduled or otherwise), back up the BC-Meridian\Vaults folder with your normal backup software (scheduled or otherwise). You should back up each vault folder and all sub-folders (streams and Backup folder), but exclude the open database files (*.hdb and *.lck). The streams folders have 4- or 8-character hexadecimal names, for example, 3D0C or 1FF20BD3. Also back up the the BC-Meridian Extensions folder.
Tip When a Prepare for Backup operation is scheduled for later execution, the task executes invisibly in command-line mode. This mode returns an error number if the backup fails that you can use in a batch file to send an alert message to a system administrator. Following is an example batch file that you can modify for your own requirements:
"C:\Program Files\BC-Meridian\Program\ambackup" MyVault
If errorlevel 0 Goto End
C:\Windows\System32\Net Send Administrator "Backup failed for vault MyVault!"
:End